<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ifandshow</title>
    <script src="js/vue-v2.6.14.js"></script>
</head>
<body>
<div id="app">
    <!--
         v-model 双向绑定
     -->
    <input type="text" name="value1" v-model="value">
    <input type="text" name="value2" v-model="value">
    {{value}}
</div>
</body>
<script type="text/javascript">
    new Vue({
        el:"#app",
        data:{
           value:"HelloWorld"
        },
        methods:{

        }

    })



</script>
</html>